package com.bw.lib_base.net

import com.bw.lib_base.entity.NoticesEntity
import com.bw.lib_base.entity.Res
import kotlinx.coroutines.flow.Flow
import retrofit2.http.GET
import retrofit2.http.Query

interface ApiServer {

    @GET("/api/announcements")
    fun getNotices(@Query("page")page:Int,@Query("size")size:Int):Flow<Res<NoticesEntity>>


}